package com.xbongbong.pro.message.pojo.dto;/*/*/

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * Description: 系统消息设置左侧菜单传参
 * @author 魏荣杰
 * @date 2019/1/4 9:59
 * @version
 * @since
 * Modified by:
 */
@Getter
@Setter
@ToString
public class MessageSetMenuListDTO extends BaseDTO{

    @NotNull(message = "{dto.msg.messageSetMenuList.appId.NotNull}")
    private Long appId;

    private String alias;

    @NotNull(message = "{dto.msg.messageSetMenuList.saasMark.NotNull}")
    @DecimalMin(value = "1", message = "{dto.msg.messageSetMenuList.saasMark.DecimalMin}")
    @DecimalMax(value = "2", message = "{dto.msg.messageSetMenuList.saasMark.DecimalMax}")
    private Integer saasMark;
}
